﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="ucLastedQuestionList.ascx.cs"
    Inherits="ExpertMIS.UserControl.ucLastedQuestionList" %>
<asp:Panel runat="server" ID="pnLastQuestion" Style="width: 100%">
    <asp:DataList ID="dlLastedQuestion" Width="100%" runat="server">
        <HeaderTemplate>
            <div style="height: 24px; width: 190px;">
                <img style="border: 0px none; height: 24px; width: 190; position: absolute;" src="../imgs/topQuestion.png" />
            </div>
<%--            <div>
                &nbsp;</div>--%>
        </HeaderTemplate>
        <ItemTemplate>
            <div style="overflow: hidden; text-align: left; padding-left: 8px; padding-top: 8px;
                background-color: #E3EEF8;">
                <asp:HyperLink runat="server" ID="hlQuestion" Text='<%# ExpertMIS.Codes.Utility.CutLongText(Eval("Title").ToString(),14) %>'
                    NavigateUrl='<%# "~/Forums/QuestionForm.aspx?oid=" +  Eval("OID") %>' Target="_blank"
                    Style="text-decoration: none; color: #595959;" ToolTip='<%# Eval("Title") %>'></asp:HyperLink>
            </div>
        </ItemTemplate>
        <ItemStyle HorizontalAlign="Left" />
        <FooterTemplate>
            <div style="height: 20px; line-height: 20px; font-size: 9pt; text-align: right; vertical-align: middle;
                padding-right: 8px;">
                <%--<asp:HyperLink runat="server" ID="hlMore" Text="更多"></asp:HyperLink>--%>
            </div>
        </FooterTemplate>
    </asp:DataList></asp:Panel>
